<template>
  <div>
    index
    <button @click="set">{{content}}</button>
  </div>
</template>
<script>
module.exports = {
  name:'index',
  components:{
    "user":httpVueLoader('../user/user.vue')
  },
  data(){
    return{
      content:1
    }
  },
  created(){

  },
  methods:{
    set(){
      this.content = this.content + 1
      this.$emit('change',this.content)
    }
  }
  ,watch:{

  },
  computed:{

  }
}
</script>
<style>

</style>
